package gof23.create.abstractfactory;

public class Client {

	public static void main(String[] args) {
		AutoFactory autoFactory = new BMWFactory();
		
		System.out.println(autoFactory.getCar().getBrand());
		System.out.println(autoFactory.getParts().getName());
	}
}
